package com.longqin.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 项目成员表
 * </p>
 *
 * @author longqin
 * @since 2025-01-21
 */
@Getter
@Setter
@TableName("bus_project_member")
@ApiModel(value = "BusProjectMember对象", description = "项目成员表")
public class BusProjectMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目id")
    @TableField("project_id")
    private Integer projectId;

    @ApiModelProperty("角色类型")
    @TableField("member_type")
    private String memberType;

    @ApiModelProperty("用户id数组")
    @TableField(exist = false)
    private Integer[] userIdArr;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Integer userId;
    
    @ApiModelProperty("用户昵称")
    @TableField(exist = false)
    private String nickName;
}
